package com.industrial.premu.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class PreMuCountyTaxJl extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    private String years;

    /** 区县代码 */
    @Excel(name = "区县代码")
    private String county;

    /** 区县名称 */
    @Excel(name = "区县名称")
    private String countyName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseCreateTime;

    /** 创建人 */
    private String baseCreateBy;

    /** 更新时间 */
    private Date baseUpdateTime;

    /** 更新人 */
    private String baseUpdateBy;

    /** 状态(0:未生效;1:已生效) */
    @Excel(name = "状态(0:未生效;1:已生效)")
    private String status;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }

    public String getYears() {
        return years;
    }

    public void setYears(String years) {
        this.years = years;
    }

    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setCountyName(String countyName)
    {
        this.countyName = countyName;
    }

    public String getCountyName()
    {
        return countyName;
    }
    public void setBaseCreateTime(Date baseCreateTime)
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime()
    {
        return baseCreateTime;
    }
    public void setBaseCreateBy(String baseCreateBy)
    {
        this.baseCreateBy = baseCreateBy;
    }

    public String getBaseCreateBy()
    {
        return baseCreateBy;
    }
    public void setBaseUpdateTime(Date baseUpdateTime)
    {
        this.baseUpdateTime = baseUpdateTime;
    }

    public Date getBaseUpdateTime()
    {
        return baseUpdateTime;
    }
    public void setBaseUpdateBy(String baseUpdateBy)
    {
        this.baseUpdateBy = baseUpdateBy;
    }

    public String getBaseUpdateBy()
    {
        return baseUpdateBy;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("county", getCounty())
                .append("countyName", getCountyName())
                .append("baseCreateTime", getBaseCreateTime())
                .append("baseCreateBy", getBaseCreateBy())
                .append("baseUpdateTime", getBaseUpdateTime())
                .append("baseUpdateBy", getBaseUpdateBy())
                .append("status", getStatus())
                .toString();
    }

}
